strlst@ayaya ue4 python3
Python 3.8.2 (default, Mar 24 2020, 03:08:36)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> numbers = [17, 16, 11, 9, 20, 0, 3]
>>> [n % 7 for n in numbers]
[3, 2, 4, 2, 6, 0, 3]
>>>

